import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { VideoComponent } from './video/video.component';

import {FormsModule} from '@angular/forms';
import { DeviceDnsComponent } from './device-dns/device-dns.component';

// 导入HTTP支持
import {HttpClientModule} from '@angular/common/http';
import { DeviceInfoComponent } from './device-info/device-info.component';
import { VideoControlComponent } from './video-control/video-control.component';

@NgModule({
  declarations: [
    AppComponent,
    VideoComponent,
    DeviceDnsComponent,
    DeviceInfoComponent,
    VideoControlComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    FormsModule,
    HttpClientModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
